package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysBuildingInfoWallRowMapper implements RowMapper<SysBuildingInfoWall>{



	@Override
	public SysBuildingInfoWall mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysBuildingInfoWall  lj= new SysBuildingInfoWall();
		lj.setId(rs.getInt("id"));
		lj.setName(rs.getString("name"));
		lj.setAddress(rs.getString("address"));
		lj.setUnit(rs.getString("unit"));
		lj.setWuyeunit(rs.getString("wuyeunit"));
		lj.setCreatetime(rs.getString("createtime"));
		lj.setAge(rs.getString("age"));
		lj.setUsetype(rs.getString("usetype"));
		lj.setUsesize(rs.getString("usesize"));
		lj.setInternet(rs.getString("internet"));
		lj.setLat(rs.getString("lat"));
		lj.setLng(rs.getString("lng"));
		lj.setType(rs.getString("type"));
		return lj;
	}

}
